package com.zrz.dao.auto;

import com.zrz.model.auto.Redcode;
import com.zrz.model.auto.RedcodeExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface RedcodeMapper {
    int countByExample(RedcodeExample example);

    int deleteByExample(RedcodeExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Redcode record);

    int insertSelective(Redcode record);

    List<Redcode> selectByExample(RedcodeExample example);

    Redcode selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Redcode record, @Param("example") RedcodeExample example);

    int updateByExample(@Param("record") Redcode record, @Param("example") RedcodeExample example);

    int updateByPrimaryKeySelective(Redcode record);

    int updateByPrimaryKey(Redcode record);
}